// lib/app/domain/use_cases/get_users.dart
import 'package:flutter_clean_architecture/app/domain/repositories/user_repository.dart';
import 'package:flutter_clean_architecture/app/domain/models/user.dart';

class GetUserUseCase {
  final UserRepository repository;

  GetUserUseCase(this.repository);

  Future<List<User>> execute() async {
    return repository.getUsers();
  }
}
